package com.pig4cloud.pigx.user.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 当前登录人资金余额
 */
@Data
public class LoginUserFuelReceiveVO implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;

	/**
	 * 用户id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long userId;

	/**
	 * 订单id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long orderId;

	/**
	 * 分红的燃油数量
	 */
	@ApiModelProperty(value="分红的燃油数量")
	private BigDecimal fuelQuantity;

	/**
	 * 分红比例
	 */
	@ApiModelProperty(value="分红比例")
	private BigDecimal fuelProportion;

	/**
	 * 分红类型
	 */
	@ApiModelProperty(value="分红类型")
	private String type;

	/**
	 * 时间
	 */
	private LocalDateTime createTime;

	/**
	 * 是否已结算 0 否 1 是
	 */
	@ApiModelProperty(value="是否已结算 0 否 1 是")
	private String isSuccess;

}
